/**
 * Copyright &copy; 2012-2016 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved.
 */
package com.thinkgem.jeesite.modules.gra.service;

import java.util.List;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.thinkgem.jeesite.common.persistence.Page;
import com.thinkgem.jeesite.common.service.CrudService;
import com.thinkgem.jeesite.modules.gra.entity.Daily;
import com.thinkgem.jeesite.modules.gra.dao.DailyDao;

/**
 * 日报管理Service
 * @author wuzengli
 * @version 2017-05-03
 */
@Service
@Transactional(readOnly = true)
public class DailyService extends CrudService<DailyDao, Daily> {

	public Daily get(String id) {
		return super.get(id);
	}
	
	public List<Daily> findList(Daily daily) {
		return super.findList(daily);
	}
	
	public Page<Daily> findPage(Page<Daily> page, Daily daily) {
		return super.findPage(page, daily);
	}
	
	@Transactional(readOnly = false)
	public void save(Daily daily) {
		super.save(daily);
	}
	
	@Transactional(readOnly = false)
	public void delete(Daily daily) {
		super.delete(daily);
	}
	
}